Software Development
Building a Unit Testing Program
Unit Testing in DevOps Software Development

Unit Testing in DevOps Software Development

Course Number:
it_atbdutdj_01_enus
Lesson Objectives

Unit Testing in DevOps Software Development

  • discover the key concepts covered in this course
  • describe unit testing, list the key properties of good unit testing programs, and differentiate between unit testing and integration testing
  • recall the key components of unit testing frameworks and describe how unit testing frameworks can help developers write and execute tests, and review test results
  • describe best practices for writing productive test cases and anti-patterns that should be avoided
  • list unit testing tools that can be used to test Java and JavaScript programs, along with associated use case scenarios
  • write and run unit tests using JsUnit and illustrate features provided in the JsUnit framework
  • write unit test cases using QUnit and use assertions and callbacks in QUnit
  • test server-side JavaScript using Mocha and Chai
  • describe core testing and refactoring techniques that can help develop testable and maintainable code
  • recognize guidelines and techniques that can help with writing trustworthy tests and approaches of managing bugs in tests
  • create test cases and test suites using JUnit and illustrate the use of the Timeout and Ignore annotations
  • use the @Test annotation and the invocationCount and threadPoolSize attributes to test web sites
  • recognize the role of unit testing in test automation and use the AAA pattern to derive test cases
  • recall the benefits of using test automation frameworks in the software delivery lifecycle
  • describe the features of the popular test automation frameworks that can be used to automate test executions
  • summarize the key concepts covered in this course

Overview/Description

Explore unit testing, including the differences between unit testing and integration testing, key framework components, and best practices and anti-patterns to consider when writing test cases. Examine common unit testing tools for testing Java and JavaScript programs, core testing and refactoring techniques for developing testable and maintainable code, and the role of unit testing in test automation. In addition, discover features of popular test automation frameworks, as well as how to write and run unit tests using JsUnit and QUnit, test server-side JavaScript using Mocha and Chai, create test cases and test suites using JUnit, use the @Test annotation with the invocationCount and threadPoolSize attributes to test web sites.



Target

Prerequisites: none

Close Chat Live